{include file=$header_start}
{strip}
<script type="text/javascript" src="{$siteroot}/includes/js/admin/settings.js" /></script>
{/strip}
{include file=$header_end}
<div class="contain">
      {include file=$left_menu}
      <div class="right_contain">
         <div class="heading_box">Module Settings</div>
         <div class="whitebox">
         
         <!--Message Div Start-->
         {if $msg}
         <div class="masg_div">
         	{$msg}
         </div>
         {/if}
         <!--Message Div End-->
         
         <div>
          <!--Form Contain start-->
           
           <div class="table_viewbox">
           <p>Using this settings admin can temporary show or hide modules from this admin panel.</p>
           <br />
            <form name="frm" id="frm" action="" method="post" >
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_viewbox">
              <tr>
                <th width="6%" align="center">#</th>
                <th width="6%"><input type="checkbox" name="check" id="check"  /></th>
                <th width="80%">Module</th>
                <th align="center" width="8%">Status</th>
              </tr>
              {section name=i loop=$modules}
              <tr class="{if $modules[i].module_status eq '1'}activerow{else}inactiverow{/if}" id="tr_{$modules[i].module_id}">
                <td align="center">{$smarty.section.i.iteration}</td>
                <td><input type="checkbox" name="checkall[]" id="checkall_{$smarty.section.i.iteration}" value="{$modules[i].module_id}" {if $modules[i].module_status eq '1'} checked="checked" {/if} /></td>
                <td>{$modules[i].module_name}</td>
                <td align="center" >{if $modules[i].module_status eq '1'}<img src="{$siteroot}/templates/admin/img/icon_correct.png" title="Active" />{else}<img src="{$siteroot}/templates/admin/img/close.png" title="Inactive" />{/if}</td>
                
              </tr>
              {/section}
               <tr>
                <td colspan="4">
                
                <div class="select_box">
	               <input type="submit" class="admin_btn" value="Update" name="update" id="update" /><div id="errormsg" class="error"></div> 
                </div>
                </td>
              </tr>
            </table>
</form>
            

         </div>
            <!--Form Contain end--> 
          
         </div>
         
         
         </div>
        </div>
      
      
      <!--right_contain end-->
      <div class="clear"></div>
    </div>
    
{include file=$footer}